package com.sunda.spmsoversea.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 海外仓入库任务表头
 * </p>
 *
 * @author Wayne
 * @since 2021-08-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OVERSEA_WHS_IN")
@ApiModel(value="OverseaWhsIn对象", description="海外仓入库任务表头")
public class OverseaWhsIn implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "入库任务UUID")
    @TableId("UUID_WHS_IN")
    private String uuidWhsIn;

    @ApiModelProperty(value = "入库任务单号")
    @TableField("WHS_IN_NO")
    private String whsInNo;

    @ApiModelProperty(value = "装箱单号")
    @TableField("SAP_PACKAGE_LIST")
    private String sapPackageList;

    @ApiModelProperty(value = "交货单号")
    @TableField("SAP_DELIVERY_NOTE")
    private String sapDeliveryNote;

    @ApiModelProperty(value = "入库任务工厂")
    @TableField("WERKS")
    private String werks;

    @ApiModelProperty(value = "入库任务仓库库存地点")
    @TableField("WHS_LOCATION_CODE")
    private String whsLocationCode;

    @ApiModelProperty(value = "入库任务状态(默认0待入库;1入库中;2入库完成;3审批通过;4提交SAP成功;5提交SAP失败;6已撤销;7关闭;)")
    @TableField("SPMS_STATUS")
    private String spmsStatus;

    @ApiModelProperty(value = "创建日期")
    @TableField("CREATE_DATE")
    private String createDate;

    @ApiModelProperty(value = "创建人工号")
    @TableField("CREATE_USERID")
    private String createUserid;

    @ApiModelProperty(value = "入库任务备注")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "入库任务评论")
    @TableField("COMMENTS")
    private String comments;

    @ApiModelProperty(value = "提交SAP过账日期")
    @TableField("POSTING_DATE")
    private String postingDate;

    @ApiModelProperty(value = "SAP物料凭证号")
    @TableField("SAP_VOUCHER_NUMBER")
    private String sapVoucherNumber;

    @ApiModelProperty(value = "SAP物料凭证年份")
    @TableField("SAP_VOUCHER_YEAR")
    private String sapVoucherYear;

    @ApiModelProperty(value = "撤销提交SAP过账日期")
    @TableField("CANCEL_POSTING_DATE")
    private String cancelPostingDate;

    @ApiModelProperty(value = "撤销提交SAP物料凭证号")
    @TableField("CANCEL_VOUCHER_NUMBER")
    private String cancelVoucherNumber;

    @ApiModelProperty(value = "撤销提交SAP物料凭证年份")
    @TableField("CANCEL_VOUCHER_YEAR")
    private String cancelVoucherYear;

    @ApiModelProperty(value = "数据版本号")
    @TableField("DATA_VERSION")
    private Integer dataVersion;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "柜号")
    @TableField("CABINET_NUMBER")
    private String cabinetNumber;


}
